package com.guigu.www.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.www.pojo.Authorization;

import java.util.List;

public interface AuthorizationMapper extends BaseMapper<Authorization> {
    //查询所有权限
    public List<Authorization> querybyauall ();
    //根据角色id查询权限
    public List<Authorization> querybyroleid(int roleid);
}
